package com.atmc.service.impl;


import com.atmc.entity.Goods;
import com.atmc.mapper.GoodsMapper;
import com.atmc.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpl implements GoodsService {
    @Autowired
    private GoodsMapper goodsMapper;
    @Override
    public List<Goods> findAll() {
        List<Goods> result =goodsMapper.findAll();
        return result;
    }
}
